/**
 *
 * Copyright (c) 2014-2016 All Rights Reserved.
 */
package org.tinygroup.eventruntimemonitor.inter;

import java.util.List;

import org.tinygroup.eventruntimemonitor.pojo.EventRuntimeInfoDetail;

/**
 * 详细信息数据库提供者
 * @author zhangliang08072
 * @version $Id: EventRuntimeInfoDetailDbProvider.java, v 0.1 2016年12月29日 上午12:50:40 zhangliang08072 Exp $
 */
public interface EventRuntimeInfoDetailDbProvider {

	void addEventRuntimeInfoDetail(EventRuntimeInfoDetail detail);
	
	void updateEventRuntimeInfoDetail(EventRuntimeInfoDetail detail);
	
	List<EventRuntimeInfoDetail> queryEventRuntimeInfoDetails(String serviceId,Long biginTime,Long endTime,Long minInterval,Long maxInterval,int start, int limit );
	
	int countEventRuntimeInfoDetails(String serviceId,Long biginTime,Long endTime,Long minInterval,Long maxInterval);
	
}
